package com.sf.protal.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {


	/**
	 * 跳转到首页
	 *
	 * @return
	 */
	@RequestMapping({"/", "index","index.html"})
	public String showIndex() {
		return "index";
	}

	/**
	 * 跳转到客户评价页面
	 * @return
	 */
	@RequestMapping({"/testimonials"})
	public String showtestimonials() {
		return "testimonials";
	}

	/**
	 * 跳转到业务服务页面
	 * @return
	 */
	@RequestMapping({"/services"})
	public String showService() {
		return "services";
	}


	/**
	 * 显示项目列表页面
	 * @return
	 */
	@RequestMapping("/prolist")
	public String showProjectList(){
		return "project-list";
	}

	/**
	 * 显示项目动态页面
	 * @return
	 */
	@RequestMapping("/prodynamic")
	public String showProjectDynamic(){
		return "project-dynamic";
	}

	/**
	 * 显示联系我们
	 * @return
	 */
	@RequestMapping("/contact")
	public String showContact(){
		return "contact";
	}

	@RequestMapping("/aboutUs")
	public String showAboutUs(){
		return "about-us";
	}

}